﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SortObjectsViewDistricts
/// </summary>
public class SortObjectsViewDistricts : IComparer<View_Districts>
{
    public int Compare(View_Districts vdis1, View_Districts vdis2)
    {
        return (vdis1.DistID < vdis2.DistID) ? 1 : ((vdis1.DistID > vdis2.DistID) ? -1 : 0);
    }
}